﻿namespace WMS6.Web.CommonMethodService2Ref
{
    using System;
    using System.CodeDom.Compiler;
    using System.Collections.Generic;
    using System.ServiceModel;

    [ServiceContract(Namespace="WMS6.Services", ConfigurationName="CommonMethodService2Ref.ICommonMethodService2"), GeneratedCode("System.ServiceModel", "3.0.0.0")]
    public interface ICommonMethodService2
    {
        [OperationContract(Action="WMS6.Services/ICommonMethodService2/GetBaseInfoForDDLSource", ReplyAction="WMS6.Services/ICommonMethodService2/GetBaseInfoForDDLSourceResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService2/GetBaseInfoForDDLSourceFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        List<SysCode4DDL> GetBaseInfoForDDLSource(string sourceFrom, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ICommonMethodService2/GetInvPalletByIDAndType", ReplyAction="WMS6.Services/ICommonMethodService2/GetInvPalletByIDAndTypeResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService2/GetInvPalletByIDAndTypeFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        List<InvPalletInfo> GetInvPalletByIDAndType(string docID, string docType, PubParasInfo pubParasInfo);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService2/InsertInvPalletFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService2/InsertInvPallet", ReplyAction="WMS6.Services/ICommonMethodService2/InsertInvPalletResponse")]
        string InsertInvPallet(List<InvPalletInfo> invPalletListInfo, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ICommonMethodService2/ReleasePrintControl", ReplyAction="WMS6.Services/ICommonMethodService2/ReleasePrintControlResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService2/ReleasePrintControlFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        string ReleasePrintControl(List<PrintControlInfo> printControlInfos, PubParasInfo pubParasInfo);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService2/SavePrintControlFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService2/SavePrintControl", ReplyAction="WMS6.Services/ICommonMethodService2/SavePrintControlResponse")]
        string SavePrintControl(List<PrintControlInfo> printControlInfos, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ICommonMethodService2/UpdateASNAndSOSingleField", ReplyAction="WMS6.Services/ICommonMethodService2/UpdateASNAndSOSingleFieldResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService2/UpdateASNAndSOSingleFieldFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        int UpdateASNAndSOSingleField(string orderType, string orderID, string updatedField, string value, PubParasInfo pubParasInfo);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService2/UpdateDeclarationsFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/ICommonMethodService2/UpdateDeclarations", ReplyAction="WMS6.Services/ICommonMethodService2/UpdateDeclarationsResponse")]
        int UpdateDeclarations(string Type, string keyID, string ExternOrderID, string CoreReleaseID, string WorkOrder, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/ICommonMethodService2/UpdateExternOrderID", ReplyAction="WMS6.Services/ICommonMethodService2/UpdateExternOrderIDResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/ICommonMethodService2/UpdateExternOrderIDFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        int UpdateExternOrderID(string Type, string keyID, string ExternOrderID, PubParasInfo pubParasInfo);
    }
}

